package com.zh.behavior.service;


import com.zh.behavior.domain.SignsDetectDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-03-02 10:26:01
 */
public interface SignsDetectService {
	
	SignsDetectDO get(Integer id);
	
	List<SignsDetectDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SignsDetectDO sensor);
	
	int update(SignsDetectDO sensor);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	List<String> getAllGateway();

	List<SignsDetectDO> getSensorType(String[] str);
	SignsDetectDO getNewByDev(Map<String, Object> map);

	List<SignsDetectDO> getNewByDevHis(Map<String, Object> map);
}
